<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>后盾问答</title>
	<meta name="keywords" content="后盾问答"/>
	<meta name="description" content="后盾问答"/>
	<{include file="../Common/head.html"}>
	<link rel="stylesheet" href="<{$smarty.const.__PUBLIC__}>/Css/list.css" />
	<script type="text/javascript" src="<{$smarty.const.__PUBLIC__}>/js/getask.js"></script>
<!-- top 结束-->

	<div id='location'>
		<{if isset($smarty.get.cid)}>
		<a href="<{$smarty.const.__APP__}>?c=category&status=0">全部分类</a>&nbsp;&nbsp;>&nbsp;&nbsp;
			<{foreach from=$mbx item=v}>
				<{if $smarty.get.cid==$v.cid}>
					<{$v.title}>
				<{else}>
					<a href="<{$smarty.const.__APP__}>?c=category&cid=<{$v.cid}>&status=0"><{$v.title}></a>&nbsp;&nbsp;>
				<{/if}>
			<{/foreach}>
		<{/if}>
	</div>

<!--------------------中部-------------------->
	<div id='center'>
		<div id='left'>
			<div id='cate-list'>
				<p class='title'>按分类查找</p>
				<ul>
					<{foreach from=$cateRow item=v}>
					<li>
						<a href="<{$smarty.const.__APP__}>?c=category&cid=<{$v.cid}>&status=0"><{$v.title}></a>
					</li>
					<{/foreach}>
				</ul>
			</div>
			<div id='answer-list'>
				<ul class='ans-sel'>
					<li class="<{if $smarty.get.status==0}>on<{/if}>" data-cid="<{$currcid}>" data-status="0">
						<a href="javascript:;">待解决问题</a>
					</li>
					<li class="<{if $smarty.get.status==1}>on<{/if}>" data-cid="<{$currcid}>" data-status="1">
						<a href="javascript:;" >已解决</a>
					</li>
					<li class="<{if $smarty.get.status==2}>on<{/if}>" data-cid="<{$currcid}>" data-status="2">
						<a href="javascript:;" >高悬赏</a>
					</li>
					<li class="<{if $smarty.get.status==3}>on<{/if}>" data-cid="<{$currcid}>" data-status="3">
						<a href="javascript:;" >零回答</a>
					</li>
				</ul>
				<!-- 待解决问题 -->
				<table id="asklist">
					<tr>
						<th class='t1'>标题</th>
						<th>回答数</th>
						<th>时间</th>
					</tr>
						<{if count($cateToAsk)==0}>
							<tr><td style="font-size:20px;">当前分类没有问题 v_v</td></tr>
							<{else}>
						<{foreach from=$cateToAsk item=v}>
						<tr>
							<td class='t1 cons'>
								<a href="<{$smarty.const.__APP__}>?c=show&asid=<{$v.asid}>">
									<b><{$v.reward}></b><{$v.content|substr:45}></a>&nbsp;&nbsp;[<{$v.title}>]
							</td>
							<td><{$v.answer}></td>
							<td><{$v.time|date_format:"%Y-%m-%d"}></td>
						</tr>
						<{/foreach}>
						<{/if}>
					<!--<tr class='page'>
						<td colspan='3'>
							<a href="">1</a>
							<a href="">2</a>
							<a href="">3</a>
						</td>
					</tr>-->
				</table>

			</div>
		</div>

		<!-- 右侧 -->
<{include file="../Common/right.html"}>
<!-- ---右侧结束---- -->
	</div>
<!--------------------中部结束-------------------->

<!-- 底部 -->
	<{include file="../Common/foot.html"}>
<!--[if IE 6]>
    <script type="text/javascript" src="./Js/iepng.js"></script>
    <script type="text/javascript">
    	DD_belatedPNG.fix('.logo','background');
        DD_belatedPNG.fix('.nav-sel a','background');
        DD_belatedPNG.fix('.ask-cate i','background');
    </script>
<![endif]-->
</body>
</html>
<!-- 底部结束 -->